﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Calculalouca
{
    class Background : GameObject
    {
        public Background(Texture2D texture, Color cor)
            : base(texture, cor)
        {

        }

        public void Draw(GameTime gameTime, SpriteBatch spriteBatch)
        {
            spriteBatch.Begin();
            spriteBatch.Draw(texture, Vector2.Zero, color);
            spriteBatch.End();
        }
    }
}